package com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm;


import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.util.Date;

/**
 * 通告实体
 * created by lutianbo 2017/3/20
 */
public class Message extends BootstrapSearchBean implements Serializable
{
    // 通告id
    private String messageId;
    // 重要级别 1:高 2:中 3:低
    private short levels;
    // 创建者id
    private String creatorId;
    // 创建者名
    private String createName;
    // 创建时间
    private Date createTime;
    // 修改者id
    private String modifierId;
    // 修改时间
    private Date modifyTime;
    // 删除标记 0:正常 1:删除
    private short deleteFlag;
    // 通告标题
    private String title;
    // 发送对象
    private String sendObject;
    // 内容
    private String content;
    // 组织id
    private String orgIds;
    // 发送对象jsonTree
    private String jsonTree;

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId == null ? null : messageId.trim();
    }

    public short getLevels() {
        return levels;
    }

    public void setLevels(short levels) {
        this.levels = levels;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifierId() {
        return modifierId;
    }

    public void setModifierId(String modifierId) {
        this.modifierId = modifierId == null ? null : modifierId.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public short getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(short deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSendObject() {
        return sendObject;
    }

    public void setSendObject(String sendObject) {
        this.sendObject = sendObject == null ? null : sendObject.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getOrgIds()
    {
        return orgIds;
    }

    public void setOrgIds(String orgIds)
    {
        this.orgIds = orgIds;
    }

    public String getCreateName()
    {
        return createName;
    }

    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getJsonTree()
    {
        return jsonTree;
    }

    public void setJsonTree(String jsonTree)
    {
        this.jsonTree = jsonTree;
    }
}